package com.mytrip.model;

import java.util.Date;

import com.mytrip.base.annotation.model.Entity;

@Entity(id="id")
public class BackendAccessLog extends BaseModelAdapter {
	
	public static final Integer OPERATOR_TYPE_BACK_OPERATOR = 0;
	public static final Integer OPERATOR_TYPE_BACK_SYSTEM = 1;
	
	private static final long serialVersionUID = 3140819061769681643L;

	private Long id;

	private Long operatorId;

	private String actionName;

	private String ip;

	private String sessionNbr;

	private Date createTime;

	private Integer operatorType;
	
	private String methodName;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public Long getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(Long operatorId) {
		this.operatorId = operatorId;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getSessionNbr() {
		return sessionNbr;
	}

	public void setSessionNbr(String sessionNbr) {
		this.sessionNbr = sessionNbr;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getOperatorType() {
		return operatorType;
	}

	public void setOperatorType(Integer operatorType) {
		this.operatorType = operatorType;
	}

	public String getActionName() {
		return actionName;
	}

	public void setActionName(String actionName) {
		this.actionName = actionName;
	}

}